package javaweb_work01.main.Service;

import javaweb_work01.main.Dao.CheckClassesIdDao;
import javaweb_work01.main.Factory.StudentsFactory;

import java.util.List;

public class CheckClassesIdservice {
    //合成复用原则
    private CheckClassesIdDao checkClassesIdDao;

    public CheckClassesIdservice(){
        this.checkClassesIdDao = StudentsFactory.getCheckClassesIdDao();
    }

    public List<Object[]> checkClassesIdService(){
        return checkClassesIdDao.checkClassesId();
    }
}
